package com.ruoyi.system.domain.api;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 归集记录对象 w_transfer_collect
 * 
 * @author ruoyi
 * @date 2022-04-22
 */
public class WTransferCollect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 币种类型 */
    @Excel(name = "币种类型")
    private String coinType;

    /** 币种名称 */
    @Excel(name = "币种名称")
    private String coinName;

    /** txid */
    @Excel(name = "txid")
    private String txId;

    /** 归集数量 */
    @Excel(name = "归集数量")
    private BigDecimal amount;

    /** 链上手续费 */
    @Excel(name = "链上手续费")
    private BigDecimal chainFee;

    /** 备注 */
    @Excel(name = "备注")
    private String mark;

    /** 是否处理 */
    @Excel(name = "是否处理")
    private Long status;

    /** 来自哪个地址 */
    @Excel(name = "来自哪个地址")
    private String fromAddress;

    /** 转到哪里 */
    @Excel(name = "转到哪里")
    private String toAddress;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCoinType(String coinType) 
    {
        this.coinType = coinType;
    }

    public String getCoinType() 
    {
        return coinType;
    }
    public void setCoinName(String coinName) 
    {
        this.coinName = coinName;
    }

    public String getCoinName() 
    {
        return coinName;
    }
    public void setTxId(String txId) 
    {
        this.txId = txId;
    }

    public String getTxId() 
    {
        return txId;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setChainFee(BigDecimal chainFee) 
    {
        this.chainFee = chainFee;
    }

    public BigDecimal getChainFee() 
    {
        return chainFee;
    }
    public void setMark(String mark) 
    {
        this.mark = mark;
    }

    public String getMark() 
    {
        return mark;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setFromAddress(String fromAddress) 
    {
        this.fromAddress = fromAddress;
    }

    public String getFromAddress() 
    {
        return fromAddress;
    }
    public void setToAddress(String toAddress) 
    {
        this.toAddress = toAddress;
    }

    public String getToAddress() 
    {
        return toAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("coinType", getCoinType())
            .append("coinName", getCoinName())
            .append("txId", getTxId())
            .append("amount", getAmount())
            .append("chainFee", getChainFee())
            .append("mark", getMark())
            .append("status", getStatus())
            .append("fromAddress", getFromAddress())
            .append("toAddress", getToAddress())
            .append("createTime", getCreateTime())
            .toString();
    }
}
